﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace WebApi_SY.Models
{
    public class sli_sale_orderImport_view
    {
        //public int  FCustomerID { get; set; }
        //public string FCustomerName { get; set; }
        //[Key]
        //public int id { get; set; }
        //public int fid { get; set; }  //表头ID
        //public string fmaterialNumber { get; set; }   //物料内码
        //public int fseq { get; set; }   //序号
        //public int fchoose { get; set; }   //选择
        //public string fsupplierSubmit { get; set; }   //提交供应商标记
        //public string finquiryNo { get; set; }   //询价单号
        //public string fsupplierName { get; set; }   //供应商名称
        //public string fprojectNo { get; set; }   //项目号
        //public string fdeliveryDate { get; set; }   //需求日期
        //public string fname { get; set; }   //名称
        //public string fdescription { get; set; }   //规格
        //public string fsliMetal { get; set; }   //材质
        //public int fqty { get; set; }   //需求数量
        //public string fsliHeatTreatment { get; set; }   //毛坯热处理fsliHeatTreatment
        //public int fsliTestBarQty { get; set; }   //试棒数量fsliTestBarQty
        //public string fsliExplanation { get; set; }   //附注fsliExplanation
        //public string fsliNotice { get; set; }   //采购备注fsliNotice
        //public string fsliDrawingNo { get; set; }   //图纸号fsliDrawingNo
        //public string fsliBlank { get; set; }   //毛坯图号fsliBlank
        //public string fsliWorkOrder { get; set; }   //生产号fsliWorkOrder
        //public string fsliSaleOrder { get; set; }   //订单号fsliSaleOrder
        //public string fsliQuotationNo { get; set; }   //报价状态fsliQuotationNo
        //public string fsliStockNo { get; set; }   //仓库fsliStockNo
        //public string fsliStockLocation { get; set; }   //仓库位置fsliStockLocation
        //public int fstatus { get; set; }
        //public string fparameter { get; set; }
        //public string freason { get; set; }
        //public int flag { get; set; }
        public int? flag { get; set; }
        public int? FSaleId { get; set; }
        public int? FCustomerID { get; set; }
        public string FCustomerName { get; set; }
        public string FpurProperty { get; set; }
        public int id { get; set; }
        public int? fid { get; set; }
        public string fmaterialNumber { get; set; }
        public int? fseq { get; set; }
        public int? fchoose { get; set; }
        public string fsupplierSubmit { get; set; }
        public string finquiryNo { get; set; }
        public string fsupplierName { get; set; }
        public string fprojectNo { get; set; }
        public string fdeliveryDate { get; set; }
        public string fname { get; set; }
        public string fdescription { get; set; }
        public string fsliMetal { get; set; }
        public int? fqty { get; set; }
        public string fsliHeatTreatment { get; set; }
        public int? fsliTestBarQty { get; set; }
        public string fsliExplanation { get; set; }
        public string fsliNotice { get; set; }
        public string fsliDrawingNo { get; set; }
        public string fsliBlank { get; set; }
        public string fsliWorkOrder { get; set; }
        public string fsliSaleOrder { get; set; }
        public string fsliQuotationNo { get; set; }
        public string fsliStockNo { get; set; }
        public string fsliStockLocation { get; set; }
        //public string FSerialNo { get; set; }
        //public int? Fwight { get; set; }
        //public string FOrderNo { get; set; }
        //public string FPartNo { get; set; }
        //public string FItemNo { get; set; }
        //public string FPositionNo { get; set; }
        //public string FMachineName { get; set; }
        //public string FarticleNo { get; set; }
        //public string FProductNo { get; set; }
        //public string Fmaterial { get; set; }
        //public string FNote { get; set; }
        //public string FPlanNo { get; set; }
        //public string Fwbs { get; set; }
        //public string FTrackingNo { get; set; }
        //public string FUrnaceBatchNo { get; set; }
        //public string FTaskNo { get; set; }
        //public string FPartNoC { get; set; }
        //public string FEquipmentNo { get; set; }
        //public string FContractNo { get; set; }
        public string FContractNo1 { get; set; }
        //public string FBillNo { get; set; }
        //public string FProductNoC { get; set; }
        //public string FContainerNo { get; set; }
        //public string FForgingNo { get; set; }
        //public string FPipeNo { get; set; }
        //public string FManufacturingNo { get; set; }
        //public string FmaterialNo { get; set; }
        //public string FPartNoC1 { get; set; }
        //public string FFactoryC { get; set; }
        //public string FEquipmentNoC { get; set; }
        //public string FStockNoC { get; set; }
        public int? fstatus { get; set; }
        public string fparameter { get; set; }
        public string freason { get; set; }
        public decimal ? Fprice { get; set; }
        public decimal ? Fweightcontract { get; set; }
    }

    public class sli_sale_orderImport_view1
    {
        [Key]
        public int? FID { get; set; }
        public int? FCustomerID { get; set; }  //客户ID  FNumber
        public string FNumber { get; set; } //客户编码
        public string FCustomerName { get; set; } //客户名称
        public string FBillNo { get; set; }//单据编号

        public int? FSaleId { get; set; } //业务员ID
        public string empName { get; set; } //业务员名称
        public string FContractNo1 { get; set; }//合同号
        public string FpurProperty { get; set; }//合同号
    }
}